package zhklappoint.dao;


import org.springframework.stereotype.Repository;

import zhklappoint.entity.TokenEntity;
import zhklappoint.repositoory.BaseRepository;

@Repository
public interface ApiTokenMapper extends BaseRepository<TokenEntity,String> {

    TokenEntity findByTokenAndIsdelete(String token,Integer isdelete);
    TokenEntity findByUserIdAndIsdelete(String userId,Integer isdelete);

}
